home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / waiter1 / waiter.doc < prev    next >
Text File  |  1996-07-10  |  2KB  |  50 lines

  1. WAITER.EXE - CONDITION-SPECIFIC COMMAND EXECUTION UTILITY
  2.  
  3. WAITER is a small, simple program for use in a network environment.
  4. Once executed, it will wait for the existance of a specific filename,
  5. and then perform the requested command. Once completed, WAITER can exit
  6. to DOS, or perform the process of waiting for a specific filename and
  7. executing a command again.
  8.  
  9. SYNTAX:
  10.  
  11.         WAITER <file name> <command> [R]
  12.  
  13.  
  14. <file name> - any valid filename. No wildcards allowed.
  15. <command>   - any command that is normally entered at the DOS prompt.
  16.               (Program name, batch file, DOS command, etc.)
  17. [R]         - If included, it will repeat the process until a key is
  18.               pressed.
  19.  
  20. EXAMPLE:
  21.  
  22.        WAITER SALES.ASC CNVRT.BAT R
  23.  
  24. This would cause WAITER to watch for the existance of SALES.ASC in the
  25. current directory, and then run the batch file CNVRT.BAT when SALES.ASC
  26. exists. Once completed, WAITER would return to watching for the existance
  27. of SALES.ASC again (which means that the batch file CNVRT.BAT would need
  28. to rename or delete SALES.ASC each time it finished with it).
  29.  
  30.  
  31.        WAITER F:\ACCT\DOWNLOAD.ASC CONVERSN.EXE
  32.  
  33. This would cause WAITER to watch for the existance of DOWNLOAD.ASC in
  34. the F:\ACCT directory, and then run the program CONVERSN.EXE in the
  35. current directory. Once completed, WAITER would end and return to the
  36. DOS prompt.
  37.  
  38. *--------------------------------------------------------------------*
  39. One Note:
  40.      There are no guarantees that this program will work in your
  41.      particular environment. This program is released to the public
  42.      domain as is, without any warranties.
  43.  
  44. I wrote this to solve a specific problem and released it to this forum
  45. after the fact (it's more the idea than the program that I am presenting)
  46.  
  47.  
  48. David Dunagan - Compuserve ID: 73230,3343
  49.  
  50.